package com.glp.work.flow.bean;

import org.springframework.beans.factory.annotation.Value;

/**
 * @Auther: aoleo
 * @Date: 2018/9/26 10:31
 */

public class TestJavaConfigBean {

    @Value("${timeout:100}")
    private int timeout;
    private int batch;
    @Value("${zhou:aa}")
    private String zhou;

    @Value("${glp:zhouao}")
    private String glp;


    @Value("${batch:200}")
    public void setBatch(int batch) {
        this.batch = batch;
    }

    public int getTimeout() {
        return timeout;
    }

    public int getBatch() {
        return batch;
    }
    public String getZhou(){
        return zhou;
    }

    public String getGlp() {
        return glp;
    }

    public void setGlp(String glp) {
        this.glp = glp;
    }
}